package com.zisuyi.uilibrary.module.activty.redeem

import android.view.View
import com.weilele.mvvm.utils.activity.textFrom
import com.weilele.mvvm.utils.vLaout.VLayoutHolder
import com.zisuyi.game.sdk.net.bean.UserInfoBean
import com.zisuyi.uilibrary.databinding.RcvRedeemBinding



class RedeemHolder : VLayoutHolder<UserInfoBean.RedeemDTO, RcvRedeemBinding> {
    constructor(binding: RcvRedeemBinding) : super(binding)
    constructor(itemView: View) : super(itemView)

    override fun bindData(data: UserInfoBean.RedeemDTO) {
        mBinding.tvRedeemMoney?.textFrom("${data.symbol}${data.amount}")
    }
}